package mywebapp.tools.jsf;

public class JSF
{
  protected static String nl;
  public static synchronized JSF create(String lineSeparator)
  {
    nl = lineSeparator;
    JSF result = new JSF();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" " + NL + " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> " + NL + "<html xmlns=\"http://www.w3.org/1999/xhtml\"> " + NL + "<head> " + NL + " <title></title> " + NL + "</head> " + NL + "<body> " + NL + "</body> " + NL + "</html> ";

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    return stringBuffer.toString();
  }
}
